package com.xm.rabbitmq.dto;

import lombok.Builder;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author 小木
 * @date 2021/4/20
 * @desc 消息实体
 */
@Data
@Builder
@ToString
public class UserEvent implements Serializable {

    private Integer id;
    private String name;
    private Integer age;

}
